<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/sys/main.js';
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
		}
	});
});

</script>
<div>
	<h3 class="title"><i class="fontello-icon-th-list-1"></i> 编辑机构信息</h3>
</div>
<div class="widget" style="width: 50%">
	<div class="stepContainer">
		<form id="editOrganForm">
			<table style="width:1000px;">
				<tr height="40">
					<td>机构名称</td>
					<td><input id="name" class="field" type="text" name="name" value="${(organ.name)!''}"></td>
				</tr>
				<tr height="40">
					<td>邮箱</td>
					<td><input id="email" class="field" type="text" name="details.email" value="${(organ.details.email)!''}" readonly="readonly"></td>
				</tr>
				<tr height="40">
					<td>地址</td>
					<td><input id="address" class="field" type="text" name="details.address" value="${(organ.details.address)!''}"></td>
				</tr>
				<tr height="40">
					<td>电话</td>
					<td><input id="phone" class="field" type="text" name="details.phone" value="${(organ.details.phone)!''}"></td>
				</tr>
				<tr height="40">
					<td>传真</td>
					<td><input id="fax" class="field" type="text" name="details.fax" value="${(organ.details.fax)!''}"></td>
				</tr>
				<tr height="40">
					<td>邮编</td>
					<td><input id="zip" class="field" type="text" name="details.postal" value="${(organ.details.postal)!''}"></td>
				</tr>
				<tr height="40">
					<td>父级机构名称</td>
					<td><input id="pn" class="field" type="text" name="pn" value="${(organ.pn)!''}"></td>
				</tr>
				<tr height="40">
					<td>负责人</td>
					<td><input id="manager" class="field" type="text" name="manager" value="${(organ.manager)!''}"></td>
				</tr>
				<tr height="40">
					<td colspan="2" style="text-align: center;">
						<button class="btn btn-info" data-dismiss="modal"  onclick="javascript: main_saveOrganSelf(); return false;"><i class="icon-save"></i> 保存</button>
						<button class="btn btn-primary" data-dismiss="modal"  onclick="javascript: sys_load_default(); return false;">返回默认页面</button>
					</td>
				</tr>
			</table>
		</form>
	</div>
</div>
